
""" Awesome utils, useful 24/7 all around the world!  """

from a115.utils.listutils import *
from a115.utils.mathutils import *
from a115.utils.stringutils import *
from a115.utils.dateutils import *
from a115.utils.objutils import *
from a115.utils.viewutils import *
from a115.utils.deprecate import *
from a115.utils import listutils
from a115.utils import mathutils
from a115.utils import stringutils
from a115.utils import dateutils
from a115.utils import objutils
from a115.utils import viewutils
from a115.utils import deprecate
from django.utils.translation import ugettext as _
from django.utils.encoding import force_unicode, smart_unicode
from django.utils.safestring import mark_safe
import re

__all__ = ["_", "re", "delkey", "delkeys", "force_unicode", "smart_unicode", "mark_safe",]
__all__ = listutils.__all__ + mathutils.__all__ + stringutils.__all__ + dateutils.__all__ + objutils.__all__ + viewutils.__all__ + deprecate.__all__ + __all__

def delkey(d, k):
    try:
        del d[k]
    except:
        pass
delkeys = lambda d, ks: [delkey(d,k) for k in ks]
